package com.fourfinance.exception;

import java.util.List;

import org.springframework.validation.FieldError;

public class FormValidationException extends Exception {
	
	private static final long serialVersionUID = 2787297561067522010L;
	
	private List<FieldError> fieldErrors;

    public FormValidationException(List<FieldError> fieldErrors) {
        this.fieldErrors = fieldErrors;
    }

    public List<FieldError> getFieldErrors() {
        return fieldErrors;
    }
}
